//
//  DHGategoryView.h
//  DHKuaiYi
//
//  Created by  chenhanmao on 2016/11/16.
//  Copyright © 2016年 30-陈辉华. All rights reserved.
//


#import <UIKit/UIKit.h>



@class DHGategoryView;

@protocol DHCategoryViewDelegate <NSObject>

- (void)categoryView:(DHGategoryView *)categoryView didSelectIndex:(NSInteger)index;

@end


@interface DHGategoryView : UIControl
/**  代理对象  */
@property(nonatomic,weak) id <DHCategoryViewDelegate> delegate;

- (void)didSelectIndex:(NSInteger)index;

@end
